package com.zzyl.nursing.job;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @author shc
 * @version 1.0
 * @since 2025-08-13-15:45
 */
@Component
@Slf4j
public class MyJob {

    @Scheduled(cron = "0/1 * * * * ?")
    public void testJob() {
        //log.warn("现在是{}", LocalDateTime.now());
    }

}
